package com.cws.project.cws.score.domain;

import com.cws.framework.aspectj.lang.annotation.Excel;
import com.cws.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 作业评分对象 cws_homework_score
 *
 * @author xyl
 * @date 2022-01-12
 */
public class HomeworkScore extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long scoreId;

    /**
     *
     */
    private Long homeworkId;

    private String homeworkTopic;

    private String homeworkUrl;

    /**
     * 学生id
     */
    private Long userId;

    @Excel(name = "学生姓名")
    private String userName;

    @Excel(name = "学生姓名")
    private String loginName;

    /**
     * 得分
     */
    @Excel(name = "得分")
    private Long score;

    private Long teacherId;

    private Long homeworkCorrectStatus;

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getHomeworkCorrectStatus() {
        return homeworkCorrectStatus;
    }

    public void setHomeworkCorrectStatus(Long homeworkCorrectStatus) {
        this.homeworkCorrectStatus = homeworkCorrectStatus;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getHomeworkTopic() {
        return homeworkTopic;
    }

    public void setHomeworkTopic(String homeworkTopic) {
        this.homeworkTopic = homeworkTopic;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setScoreId(Long scoreId) {
        this.scoreId = scoreId;
    }

    public Long getScoreId() {
        return scoreId;
    }

    public void setHomeworkId(Long homeworkId) {
        this.homeworkId = homeworkId;
    }

    public Long getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkUrl(String homeworkUrl) {
        this.homeworkUrl = homeworkUrl;
    }

    public String getHomeworkUrl() {
        return homeworkUrl;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getScore() {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("scoreId", getScoreId())
                .append("homeworkId", getHomeworkId())
                .append("homeworkUrl", getHomeworkUrl())
                .append("userId", getUserId())
                .append("score", getScore())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
